package com.alks.function.mapper.procurement;


import com.alks.function.data.dto.procurement.OrderUsageDiffDto;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface OrderUsageDiffMapper  {


    /*查询当前采购单耗差异*/
    List<OrderUsageDiffDto> getOrderUsageDiff();

    /*先删除差异表中所有数据*/
    void deleteOrderUsageDiff();

    /*把有差异的材料写入到新表*/
    void addOrderUsageDiff(@Param("list") List<OrderUsageDiffDto> list);
}
